<?php
/**
 * | @author 李鹏博^life <907215837@qq.com>
 * +----------------------------------------------------------------------
 * | @copyright 2016 - 2019 HQ
 * +----------------------------------------------------------------------
 * | @version $Id: 2019/5/4 14:21 jiahe_new member.php 李鹏博^life $
 * +----------------------------------------------------------------------
 */

namespace app\common\common\model\oldModel\member;

use app\common\common\model\oldModel\OldBase;

class  memberScore extends OldBase {
    protected $table = 'member_score_log';



    /**
     * 不带分页的多条查询
     * @param $where
     * @return false|\PDOStatement|string|\think\Collection
     */
    public function allByWhere($where){
        return $this->where($where)->select()->toArray();
    }


    /**
     * 查询单条数据
     * @param $where
     * @return array|false|\PDOStatement|string|\think\Model
     */
    public function findByWhere($where){
        return $this->where($where)->find();
    }
}  